package com.ikas.ai.server.module.system.model.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class UpdateUserInfoDTO {

    private Long id;

    @NotEmpty(message = "用户账号必填")
    private String username;

    @NotEmpty(message = "姓名必填")
    private String realName;

    @NotNull(message = "性别必选")
    private Integer gender;

    @NotEmpty(message = "角色必选")
    private List<Long> roleId;

    @NotEmpty(message = "手机必填")
    private String phone;

    @NotEmpty(message = "邮箱必填")
    private String email;
}
